package com.fh.fruit.service.activity;

import java.util.List;

import com.fh.entity.Page;
import com.fh.fruit.entity.activity.ActivityLabel;
import com.fh.util.PageData;

/**
 * 活动标签
 * 
 * @author Administrator
 * @version 2017.11.30 15:39
 */
public interface ActivityLabelManager {
	/**
	 * 获取活动标签
	 * 
	 * @author 葛欢欢
	 * @version 2017.11.30 16:40
	 * @return
	 * @throws Exception
	 */
	List<ActivityLabel> getActivityLabel(Page page) throws Exception;

	/**
	 * 根据标签编号查询活动标签
	 * 
	 * @author 葛欢欢
	 * @version 2017.11.30 16:40
	 * @return
	 * @throws Exception
	 */
	ActivityLabel getActivityLabelByLabelCode(String labelCode) throws Exception;

	/**
	 * 添加活动标签
	 * 
	 * @author 葛欢欢
	 * @version 2017.11.30 16:40
	 * @param activityLabel
	 * @return
	 * @throws Exception
	 */
	int addActivityLabel(PageData pd) throws Exception;

	/**
	 * 修改活动标签
	 * 
	 * @author 葛欢欢
	 * @version 2017.11.30 16:40
	 * @param activityLabel
	 * @return
	 * @throws Exception
	 */
	int updateActivityLabel(PageData pd) throws Exception;

	/**
	 * 删除活动标签
	 * 
	 * @author 葛欢欢
	 * @version 2017.11.30 16:40
	 * @param lableCode
	 * @return
	 * @throws Exception
	 */
	int deleteActivityLabel(String lableCode) throws Exception;

}
